<template>
  <page-body>
    <view class="page">
      <view class="flex benben-position-layout flex flex-wrap align-center kefu_flex_0"
        :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
        <view class='flex flex-wrap align-center justify-between flex-sub kefu_fd0_0'>
          <view class='flex flex-wrap align-center kefu_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back"
            data-url="1">
            <text class='fu-iconfont2  kefu_fd0_0_c0_c0'>&#xE794;</text>
          </view>
          <view class='flex flex-wrap align-stretch justify-center'>
            <text class='kefu_fd0_0_c1_c0'>联系客服</text>
          </view>
          <view class='flex flex-wrap align-center justify-end kefu_fd0_0_c0'>
          </view>
        </view>

      </view>
      <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
      <!---flex布局flex布局开始-->
      <view class="flex flex-direction align-stretch benben-flex-layout kefu_flex_1">
        <image class='kefu_fd1_0' mode="aspectFit" :src='STATIC_URL+"28.png"'></image>
        <text class='kefu_fd1_1'>{{tel}}</text>
        <view class='flex align-center justify-center kefu_fd1_2'>
          <text>工作时间：{{time}}</text>
        </view>
        <view class='flex flex-wrap align-center kefu_fd1_3' @click.stop="callMobile(tel)">
          <button class='kefu_fd1_3_c0'>拨打电话</button>
        </view>
      </view>

      <!---flex布局flex布局结束-->


    </view>
  </page-body>
</template>
<script>
  export default {
    components: {},


    data() {
      return {
        time: '',
        tel: ""
      };
    },
    computed: {

    },
    watch: {},
    onLoad(options) {
      this.getData()
    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {

    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      getData() {
        this.$api.post(global.apiUrls.post665d2bb0f0f7c).then(res => {
          if (res.data.code == 1) {
            this.tel = res.data.data.tel
            this.time = res.data.data.time
          }
        })
      },
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: var(--benbenbgColor1);
    background-size: 100% auto;
  }

  .kefu_flex_0 {
    border-bottom: 1px solid #eee;
    background: #fff;
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .kefu_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 700;
    color: #333;
    line-height: 88rpx;
  }

  .kefu_fd0_0_c0_c0 {
    font-size: 36rpx;
    color: #333;
  }

  .kefu_fd0_0_c0 {
    width: 120rpx;
  }

  .kefu_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
  }

  .kefu_flex_1 {
    padding: 100rpx 0rpx 0rpx 0rpx;
  }

  .kefu_fd1_3_c0 {
    background: var(--benbenbgColor2);
    border-radius: 44rpx;
    width: 510rpx;
    line-height: 88rpx;
    font-size: 32rpx;
    color: #fff;
    margin: 0rpx auto 0rpx auto;
  }

  .kefu_fd1_3 {
    margin: 0rpx 0rpx 0rpx 0rpx;
  }

  .kefu_fd1_2 {
    margin: 0rpx 0rpx 56rpx 0rpx;
    color: var(--benbenFontColor2);
  }

  .kefu_fd1_1 {
    margin: 0rpx auto 22rpx auto;
    color: var(--benbenFontColor0);
    font-size: 48rpx;
    font-weight: 600;
  }

  .kefu_fd1_0 {
    width: 334rpx;
    height: 334rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx auto 60rpx auto;
  }
</style>
